package com.xinruke.hostels.system.manage.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author yutaipu
 */
@ApiModel("交班模式修改请求DTO")
@Data
public class WorkModeModifyDTO {

    /**
     * id
     */
    @ApiModelProperty(value = "交班模式id", required = true)
    @NotNull(message = "交班模式id不能为空")
    private Integer id;

    /**
     * 备用金
     */
    @ApiModelProperty(value = "备用金")
    private BigDecimal beiyongjin;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String miaoshu;
}
